export type WorkplaceTotal = {
  project: number
  access: number
  todo: number
}

export type PersonTotal = {
  person: number
  warn: number
}

export type Project = {
  id: number
  name: string
  icon: string
  message: string
  personal: string
  total: number
  unread: number
  time: Date | number | string
}

export type PersonCaseInfo = {
  id: number
  name: string
  avatar: string
  paperNumber: string
  groupName: string
  foreigner: number
  personal: string
  lastLocation: string
  lastLocationTime: Date | number | string
  warnCount: number
  readTotal: number
  unreadTotal: number
}

export type Notice = {
  title: string
  type: string
  keys: string[]
  date: Date | number | string
  idNumber: string
  personName: string
  avatar: string
  warnPersonCount: string
}

export type WarnCommon = {
  title: string
  type: string
  keys: string[]
  date: Date | number | string
  idNumber: string
  personName: string
  avatar: string

  personId: number;
  gatherId: number;
  configId: string;
  address: string;
  warnPersonCountText: string // 聚集人数
  warnPersonCount: number // 聚集人数

  gatherName: string // 聚集条件名称
  startTime: Date // 聚集开始时间
  endTime: Date // 聚集结束时间
  gatherAddress: string // 聚集地址
  createTime: Date | number | string
}

export type Shortcut = {
  name: string
  icon: string
  url: string
}
